<template>
  <div class="upload">
    <el-card>
      <h3 style="text-align: center">员工导入</h3>
      <UploadExcel :before-upload="beforeUpload" :on-success="onSuccess" />
    </el-card>
  </div>
</template>
<script>
export default {
  name: '',
  data() {
    return {}
  },
  computed: {},
  created() {},
  methods: {
    beforeUpload(file) {
      return true
    },
    onSuccess({ header, results }) {
      console.log(header, results)
    }
  }
}
</script>
<style lang="less" scoped></style>
